package com.lanou.dllo.shise.com.lanou.dllo.activity;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;

import com.lanou.dllo.shise.R;

public class RegisterActivity extends AppCompatActivity implements View.OnClickListener {
    private EditText user_email,user_firstname,user_psw;
    private Button NextBtn;

    @Override
    protected void onCreate(Bundle savedInstanceState) {

        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_register);
        init();
    }

    private void init() {
        user_email = (EditText) findViewById(R.id.user_email);
        user_firstname = (EditText) findViewById(R.id.user_firstname);
        user_psw = (EditText) findViewById(R.id.user_psw);
        NextBtn = (Button) findViewById(R.id.NextBtn);
        NextBtn.setOnClickListener(this);

    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.NextBtn:
                Intent intent = new Intent(RegisterActivity.this,LoginActivity.class);
                startActivity(intent);
                break;
        }
    }

    private void save() {

    }
}
